package org.dromara.system.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.dromara.system.domain.ZService;
import org.dromara.system.domain.vo.ZServiceChartVO;

import java.util.List;

@DS("second")
@Mapper
public interface ZServiceMapper extends BaseMapper<ZService> {
   List<ZServiceChartVO> getHotProblem(@Param("time") String typeByCode);

   List<ZServiceChartVO> getAppeal(@Param("time") String typeByCode);
   List<ZServiceChartVO> getLevelOneProblem(@Param("time") String typeByCode);

   List<ZServiceChartVO> getLevelTwoProblem(@Param("time") String typeByCode, @Param("SerQtypeName1") String SerQtypeName1);

   List<ZServiceChartVO> getLevelThreeProblem(@Param("time") String typeByCode, @Param("SerQtypeName2") String serQtypeName2);

   List<ZServiceChartVO> getAppealChannels(@Param("time") String typeByCode);
}
